<template>
    <div id="home">
        <el-container>
            <el-aside width="auto">
                <Aside></Aside>
            </el-aside>
            <el-container>
                <el-header>
                    <Header></Header>
                </el-header>
                <el-main>
                    <Main></Main>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>

<script>
    import Aside from "../layout/Aside";
    import Header from "../layout/Header";
    import Main from "../layout/Main";
    export default {
        name: "Home",
        components: {Main, Header, Aside}
    }
</script>

<style scoped>
     .el-header{
        margin: 0;
        padding: 0 0 0 5px;
    }
    #home {
        width: 100vw;
        height: 100vh;

        background-color: rebeccapurple;
    }
    .el-header, .el-footer {
        background-color: #B3C0D1;
        color: #333;
        text-align: center;
        line-height: 60px;
    }

    .el-aside {
        background-color: #304156;
        color: #333;
        text-align: center;
        line-height: 200px;
        height: 100vh;
    }



     .el-main {
        background-color: #E9EEF3;
        color: #333;
        text-align: center;
    }

    body > .el-container {
        margin-bottom: 40px;
    }

    .el-container:nth-child(5) .el-aside,
    .el-container:nth-child(6) .el-aside {
        line-height: 260px;
    }

    .el-container:nth-child(7) .el-aside {
        line-height: 320px;
    }



</style>